#

| Chapter 2 UNIX Commands |

## crypt

    crypt [password] < file > encryptedfile

Encrypt a `file` to prevent unauthorized access. `password` is either a string of characters you choose or the flag -k, which assigns the value of environment variable CRYPTKEY as the password. The same `password` is used to encrypt a file or to decrypt an encrypted file. If no password is given, crypt prompts for one. crypt is available only in the United States (due to export restrictions).

Reference: crontab |  | Reference: cscope